﻿using Abp.Application.Services.Dto;
using SingleUserMall.Article.Form;
using SingleUserMall.Article.VO;
using SingleUserMall.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Article
{
    /// <summary>
    /// 文章管理
    /// </summary>
    [Description("文章管理")]
    public interface IArticlesManageAppService:IManageService
    {

        /// <summary>
        /// 获取文章列表信息
        /// </summary>
        /// <param name="form"></param>
        /// <returns></returns>
        Task<PagedResultDto<ArticlesVO>> GetAllArticlesAsync(ArticlesSearchForm form);

        /// <summary>
        /// 保存文章信息
        /// </summary>
        /// <param name="form"></param>
        /// <returns></returns>
        Task SaveArticlesAsync(ArticlesForm form);

        /// <summary>
        /// 删除文章
        /// </summary>
        /// <param name="ArticlesId"></param>
        /// <returns></returns>
        Task DeleteArticlesAsync(SingleId<long> form);

    }
}
